Concurrency by Tutorials by 2019

Concurrency by Tutorials by 2019

Author:2019
Language: eng
Format: epub
Publisher: Ray Wenderlich


Section III: Operations

Even though Grand Central Dispatch provides most of the concurrency capabilties you'll need right out-of-the-box, sometimes you'll want some extra customizability. This is where Operations come into play. This section will teach you about Operations, Operation Queues, and everything in between.

Specifically, you'll learn about:

Chapter 6: Operations: In this chapter you'll switch gears and start learning about the Operations class, which allows for much more powerful control over your concurrent tasks.

Chapter 7: Operation Queues: Similar to the Dispatch Queues you learned about back in Chapter 3, the Operation class uses an OperationQueue to perform a similar function.

Chapter 8: Asynchronous Operations: Now that you can create an Operation and submit it to a queue, you'll learn how to make the operation itself asynchronous. While not something you'll do regularly, it's important to know that it's possible.

Chapter 9: Operation Dependencies: The "killer feature" of Operations is being able to tell the OS that one operation is dependant on another and shouldn't being until the dependency has finished.

Chapter 10: Canceling Operations: There are times when you need to stop an operation that is running, or has yet to start. This chapter will teach you the concepts that you need to be aware of to support cancelation.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.